(use-package pyim :ensure t)
;;(use-package pyim-wbdict :ensure t)
;;(pyim-wbdict-v98-enable)
(setq pyim-default-scheme 'wubi)
(setq pyim-dicts '((:name "jidian" :file "~/.emacs.d/PyimDict/pyim-wbdict-freeime.pyim")))
(setq-default default-input-method "pyim")
(setq pyim-punctuation-translate-p '(auto yes no))   ;中文使用全角标点，英文使用半角标点。
(setq-default pyim-punctuation-half-width-functions
			  '(pyim-probe-punctuation-line-beginning
				pyim-probe-punctuation-after-punctuation))



(provide 'pyim-init)
